from tools import is_factor

prime_list = []

for x in range(2, 200010):
    if is_factor(x):
        prime_list.append(x)
    if len(prime_list) > 10001:
        break

print(len(prime_list))
print(prime_list[10000])